home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
cdity
/
yak
/
installation
/
install yak
< prev
next >
Wrap
Text File
|
1994-07-06
|
30KB
|
1,116 lines
; ************************************************
; *
; * This is the installation script for Yak
; *
; * Copyright © 1993 Gaël Marziou
; *
; ************************************************
; ********************************
; * Set up some global variables *
; ********************************
; find Yak version in distribution
(set vernum-yak (getversion "/Yak"))
(set version-yak (/ vernum-yak 65536))
(set revision-yak (- vernum-yak (* version-yak 65536) ) )
(set @default-dest "")
(set old_level @user-level)
(if (exists "LIBS:reqtools.library")
(
; find reqtools.library installed version
(set vernum-reqt-inst (getversion "libs:reqtools.library"))
(set ver-reqt-inst (/ vernum-reqt-inst 65536))
(set rev-reqt-inst (- vernum-reqt-inst (* ver-reqt-inst 65536) ) )
)
)
; find reqtools.library in Yak distribution
(set vernum-reqt-yak (getversion "/libs/reqtools.library"))
(set ver-reqt-yak (/ vernum-reqt-yak 65536))
(set rev-reqt-yak (- vernum-reqt-yak (* ver-reqt-yak 65536) ) )
(set catalogdir "/Catalogs/")
;=============================================================================
; English strings
;=============================================================================
(set default_lang 4)
(set #bad-kick "Yak needs Kickstart 2.04 at least to run !")
(set #install-yak-msg
(cat
"Please select the Directory where you would like to "
"install Yak...\n"
"If Yak is running at the moment, please stop it "
"because of the overlays, new Yak cannot be installed "
"on top of the old one when this one is running."
)
)
(set #installing-yak "Installing Yak ...")
(set #copying-reqtools "Copying reqtools.library to Libs:...")
(set #which-language "\nWhich languages should be installed?")
(set #which-language-help
(cat "\nThe Amiga can be operated in many different"
" languages. If you want Yak user interface to"
" use the same language as the Amiga Workbench"
" then a catalog file must be copied to your"
" system disk for each language supported.\n\n"
" At the moment, only english, french, german"
" and italian languages are available.\n\n"
@askoptions-help
))
(set #install-reqtools-msg
(cat ("\n\n You already have reqtools.library version %ld.%ld\n" ver-reqt-inst rev-reqt-inst)
(" Do you want to install version %ld.%ld LIBS: ?\n" ver-reqt-yak rev-reqt-yak)
)
)
(set #new-install-reqtools-msg
(cat ("\n\n You haven't reqtools.library installed\n")
("Do you want to install version %ld.%ld in LIBS: ?\n" ver-reqt-yak rev-reqt-yak)
)
)
(set #install-reqtools-help
(cat "\n\nThe reqtools.library is copyright Nico François\n"
"Yak uses it mainly for its hotkey palette.\n"
"If you don't manage to use the hotkey palette "
"then you should skip this part."
)
)
(set #install-msg
(cat ("\n\n Yak %ld.%ld installation script.\n\n\n" version-yak revision-yak)
" This script installs Yak and related files on your Amiga.\n\n"
)
)
(set #yak-guide "/Docs/English/Yak.guide")
(set #install-guide
(cat "\n\n Would you like to install the documentation for Yak"
" which is in amigaguide format?"
)
)
(set #install-guide-help
(cat "Yak documentation is in amigaguide format "
"which is the standard Amiga hypertext facility. "
"If you run 3.0, your amigaguide viewer is MultiView.\n"
"If you are not running 3.0, you can find "
"the amigaguide program on Fred Fish disk #870\n"
"Please select the destination directory for "
"the manual. I suggest you place the "
"AmigaGuide© documents within the searchpath "
"of AmigaGuide© of MultiView©"
)
)
(set #install-def-prefs
(cat "\n\nYou seem to be a new Yak user, would you like to install"
" the default yak.prefs file?"
)
)
(set #install-def-hotkeys
(cat "\n\nYou seem to be a new Yak 1.5x user, would you like to install"
" the default yak.hotkeys file which has been added in 1.5?"
)
)
(set #no-locale-msg
(cat "Sorry, you do not have locale.library installed. "
"Therefore, no localization facilities will be installed."
)
)
(set #locale-prompt
(cat "Yak is localized, that means you may use "
"the program in different languages. Please choose "
"the desired languages now."
)
)
(set #locale-help
(cat "These are the languages supported by Yak\n"
"Simply specify the languages you "
"prefer and the needed catalog files will be "
"copied to the LOCALE:CATALOGS directory.\n "
"These features are only available under Workbench 2.1 "
"and later releases."
)
)
;=============================================================================
; French strings
;=============================================================================
(if (= @language "français")
(
(set default_lang 8)
(set #bad-kick " Yak nécessite au moins le Kickstart 2.04 pour fonctionner!")
(set #install-yak-msg
(cat
" Sélectionnez le répertoire ou installer Yak ..."
"\n Si Yak fonctionne en ce moment, veuillez l'arrêter"
" sinon l'installation de la nouvelle version échouera"
" à cause des overlays."
)
)
(set #installing-yak " Installation de Yak ...")
(set #copying-reqtools " Copie du fichier reqtools.library vers Libs:...")
(set #which-language "\nQuelles sont les langues à installer ?")
(set #which-language-help
(cat "\nA partir du système 2.1, l'Amiga peut fonctionner dans différentes langues. "
"Pour l'instant, seuls l'allemand, l'anglais, le français et"
"l'italien sont disponibles\n\n"
"Cochez les langues que vous souhaitez disponibles "
"sur votre système\n\n"
@askoptions-help
)
)
(set #install-msg
(cat "\n\nScript d'installation de Yak\n"
" Ce script installe Yak sur votre Amiga"
" ainsi que divers fichiers nécessaires.\n\n"
)
)
(set #install-reqtools-msg
(cat
("\n\n Vous avez déjà la reqtools.library version %ld.%ld\n" ver-reqt-inst rev-reqt-inst)
(" Voulez-vous installer la version %ld.%ld ?\n" ver-reqt-yak rev-reqt-yak)
)
)
(set #new-install-reqtools-msg
(cat
("\n\n Vous n'avez pas la reqtools.library\n")
(" Voulez-vous installer la version %ld.%ld ?\n" ver-reqt-yak rev-reqt-yak)
)
)
(set #install-reqtools-help
(cat "\n\n La reqtools.library est copyright Nico François\n"
" Yak l'utilise principalement pour sa palette.\n"
" Si vous ne pensez pas utiliser la touche d'appel\n"
" de Yak faisant apparaître une palette, vous pouvez \n"
" vous passer d'installer cette library."
)
)
(set #install-msg
(cat ("\n\n Script d'installation de Yak %ld.%ld .\n\n\n" version-yak revision-yak)
" Ce script installe Yak et les fichiers nécessaires sur votre Amiga.\n\n"
)
)
(set #yak-guide "/Docs/Français/Yak.guide")
(set #install-guide
"\n\nVoulez-vous installer la documentation de Yak qui est au format amigaguide?"
)
(set #install-guide-help
(cat "La documentation de Yak est au format amigaguide "
"qui est le format hypertexte standard Amiga."
"Si vous avez le système 3.0, vous pouvez visualiser "
"les fichiers amigaguide avec MultiView.\n"
"Si vous n'avez pas le système 3.0, vous pouvez "
"trouver le programme amigaguide sur la disquette 870 "
"de la collection Fred Fish.\n"
"Veuillez sélectionner un répertoire de destination "
"pour la documentation. je vous suggère de placer "
"vos documents AmigaGuide© dans le chemin de recherche "
"d'AmigaGuide© ou de MultiView©."
)
)
(set #install-def-prefs
(cat "\n\nIl semble que vous êtes un nouvel utilisateur de Yak,"
" voulez-vous installer le fichier par défaut yak.prefs ?"
)
)
(set #install-def-hotkeys
(cat "\n\nIl semble que vous êtes un nouvel utilisateur de Yak 1.5x, "
"voulez-vous installer le fichier par défaut yak.hotkeys qui "
"apparu avec la version 1.5 ? "
)
)
(set #no-locale-msg
(cat "Désolé, la locale.library n'est pas installée sur votre système. "
" Vous ne pouvez donc pas profiter de la localisation de Yak."
)
)
(set #locale-prompt
(cat "Yak est localisé, Celà signifie que vous pouvez "
"l'utiliser da